﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace CodeSnippetsEditor
{
    public class ClassHeader
    {
        private string name = string.Empty;
        private string author = string.Empty;
        private string shortcut = string.Empty;
        private string description = string.Empty;
        private string helpUrl = string.Empty;


        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        [XmlElement()]
        public string Title
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        /// <summary>
        /// Gets or sets the author.
        /// </summary>
        /// <value>The author.</value>
        [XmlElement()]
        public string Author
        {
            get
            {
                return author;
            }
            set
            {
                author = value;
            }
        }

        /// <summary>
        /// Gets or sets the shortcut.
        /// </summary>
        /// <value>The shortcut.</value>
        [XmlElement()]
        public string Shortcut
        {
            get
            {
                return shortcut;
            }
            set
            {
                shortcut = value;
            }
        }

        /// <summary>
        /// Gets or sets the description.
        /// </summary>
        /// <value>The description.</value>
        [XmlElement()]
        public string Description
        {
            get
            {
                return description;
            }
            set
            {
                description = value;
            }
        }

        /// <summary>
        /// Gets or sets the help URL.
        /// </summary>
        /// <value>The help URL.</value>
        [XmlElement()]
        public string HelpUrl
        {
            get
            {
                return helpUrl;
            }
            set
            {
                helpUrl = value;
            }
        }

    }
}
